using GraphQL.Types;
using GraphQLDemo.Domain.OrderAttachments;

namespace GraphQLDemo.Api.GroupTypes;

public class OrderAttachmentGraphType : ObjectGraphType<OrderAttachment>
{
    public OrderAttachmentGraphType()
    {
        Name = "OrderAttachment";
        Description = "Order Attachment test ... ";

        Field(f => f.Id);
        Field(f => f.Name);
        Field(f => f.Type);
    }
}